#include"head.h"

bool IsNumber(char* word) {
	for (int i = 0; word[i] != '\0' && i < 32; i++) {
		if (word[i] > '9' || word[i] < '0') return 0;
	}
	return 1;
}

void UnComent(char* line) {
	for (int i = 0; i < strlen(line); i++) {
		if (line[i] == '/'&& i + 1 < strlen(line)) {
			if (line[i + 1] == '/' || line[i + 1] == '*') line[i] = '\0';
		}
	}
}